[paket]
tanim   = Tarayıcıya erişim uygulama ve kütüphanesi
paketci = milisarge
grup    = kütüphane
url     = http://www.sane-project.org/
arsiv   = sane-backends-$surum

[gerek]
derleme = python avahi libjpeg-turbo tiff libgphoto2 v4l-utils libusb net-snmp
calisma =

[kaynak]
1       = https://gitlab.com/sane-project/backends/-/archive/${surum}/backends-${surum}.tar.gz
dosya   = sane.xinetd

[sha256]
1       = 58c645762fe42739ae03e42fc197fb8b59e4aaebae482881654420c54a3a7229

[derle]
ekconf  = --enable-ipv6 --with-docdir=/usr/share/doc/sane --enable-avahi --enable-pthread --disable-rpath --enable-libusb_1_0 --disable-locking
tip     = gnu

[pakur]
tip     = gnu
betik   = install -D -m0644 tools/udev/libsane.rules "${PKG}/usr/lib/udev/rules.d/49-sane.rules"
betik   = sed -i 's|NAME="%k", ||g' "${PKG}/usr/lib/udev/rules.d/49-sane.rules"
betik   = install -D -m644 "${SRC}/sane.xinetd" "${PKG}/etc/xinetd.d/sane"
betik   = install -D -m644 tools/sane-backends.pc "${PKG}/usr/lib/pkgconfig/sane-backends.pc"
